<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>404 - 页面未找到</title>
    <link rel="stylesheet" href="{{ url_for('static', path='/css/main.css') }}">
    <style>
        .error-container {
            text-align: center;
            padding: 2rem;
        }
        .error-code {
            font-size: 6rem;
            font-weight: bold;
            color: #dc3545;
            margin-bottom: 1rem;
        }
        .error-message {
            font-size: 1.5rem;
            margin-bottom: 2rem;
        }
        .back-link {
            display: inline-block;
            padding: 0.5rem 1rem;
            background-color: #007bff;
            color: white;
            text-decoration: none;
            border-radius: 4px;
        }
        .back-link:hover {
            background-color: #0069d9;
        }
    </style>
</head>
<body>
    <header>
        <h1>FastAPI应用</h1>
    </header>
    <main>
        <div class="error-container">
            <div class="error-code">404</div>
            <div class="error-message">抱歉，您请求的页面不存在</div>
            <a href="/" class="back-link">返回首页</a>
        </div>
    </main>
    <footer>
        <p>&copy; 2023 FastAPI应用</p>
    </footer>
</body>
</html> 